﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/page/common/head.jsp" %>
<div class="right">
    <div class="location">
        <strong>当前位置:</strong>
        <span>商品入库管理页面 >> 商品入库添加页面</span>
    </div>
    <div class="supplierAdd">
        <form id="userForm" name="userForm" enctype="multipart/form-data" method="post" action="${pageContext.request.contextPath }/sys/goodsStorageRecord/add">
            <!--div的class 为error是验证错误，ok是验证成功-->
            <div>
                <label for="goodsCode">商品入库编号：</label>
                <input type="text" name="goodsCode" id="goodsCode" value="">
                <!-- 放置提示信息 -->
                <font color="red"></font>
            </div>
            <div>
                <label for="goodsName">商品名称：</label>
                <input type="text" name="goodsName" id="goodsName" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="goodsDesc">商品描述：</label>
                <input type="text" name="goodsDesc" id="goodsDesc" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="goodsUnit">商品单位：</label>
                <input type="text" name="goodsUnit" id="goodsUnit" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="goodsCount">入库数量：</label>
                <input type="text" name="goodsCount" id="goodsCount" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="totalAmout">入库商品总额：</label>
                <input name="totalAmout" id="totalAmout"  value="">
            </div>
            <div>
                <label for="payStatus">支付状态：</label>
                <select name="payStatus" id="payStatus">
                    <option value="-1">--请选择--</option>
                    <option value="1">未支付</option>
                    <option value="2">已支付</option>
                </select>
            </div>
            <div>
                <label>供货商编号：</label>
                <select name="supplierId" id="codeList">
                    <option value="-1">--请选择--</option>
                    <c:forEach items="${codeList}" var="code">
                        <option value="${code.supplierCode}">
                                ${code.supplierCode}
                        </option>
                    </c:forEach>
                </select>
            </div>
            <div class="supplierAddBtn">
                <input type="submit" name="add" id="add" value="保存" >
                <input type="button" id="back" name="back" value="返回" onclick="javascript :history.back(-1);" >
            </div>
        </form>
    </div>
</div>
</section>
<%@include file="/WEB-INF/page/common/foot.jsp" %>
